#include "UpRightThirdTooth.h"

USING_NS_CC;

UpRightThirdTooth::UpRightThirdTooth(HelloWorld* helloWorld)
{
	position = UP_LEFT_SIX;
	upRightThirdTooth = CCSprite::create("dentist/img_sr_1280_720_tooth_t10001.png");
	upRightThirdTooth->setPosition(ccp(252,149));
	upRightThirdTooth->setScaleX(-1);
	helloWorld->addChild(upRightThirdTooth);
}

UpRightThirdTooth::~UpRightThirdTooth(void)
{
	upRightThirdTooth->autorelease();
}

bool UpRightThirdTooth::checkToolInWhichTooth(float x, float y){
	
	if(x>247 && x<257 && y > 113 && y<125){
		return true;
	}else{
		return false;
	}
}
